package com.woniuxy.service;

import com.woniuxy.pojo.Account;

public interface AccountService {
    /**
     * 银行转账
     * @param fromAccountno
     * @param toAccountno
     * @param money
     * @return
     */
    public boolean transfer(String fromAccountno,String toAccountno,float money)throws Exception;

    /**
     * 按账号查询账户对象
     * @param accountno
     * @return
     */
    public Account findAccountByAccountno(String accountno);
}
